package com.hzf.designer.rpc.api;

import com.hzf.designer.dao.model.*;

import java.util.List;

public interface DesignerApiService {
    int installDesigner(DneedsDesigner dneedsDesigner);
    List<DneedsDesigner> selectDesigner(DneedsDesignerExample dneedsDesignerExample);
    DneedsDesigner getDesigner(DneedsDesignerExample dneedsDesignerExample);
    int updateDesigner(DneedsDesigner dneedsDesigner);
    int delectDesigner(DneedsDesigner dneedsDesigner);
    //距离查询设计师
    List<DneedsDesigner> selectByPrimaryDneedsDesigner(int regionNumber,int status, long min0, long max0,
                                                       long min1, long max1, long min2, long max2,
                                                       long min3, long max3,
                                                       long min4, long max4,
                                                       long min5, long max5,
                                                       long min6, long max6,
                                                       long min7, long max7,
                                                       long min8,long max8);
    List<DneedsDemand> selectByPrimaryDneedsDemand(int regionNumber,int status, long min0, long max0,
                                                       long min1, long max1, long min2, long max2,
                                                       long min3, long max3,
                                                       long min4, long max4,
                                                       long min5, long max5,
                                                       long min6, long max6,
                                                       long min7, long max7,
                                                       long min8,long max8);
    int installDneedsDesignerCase(DneedsDesignerCase dneedsDesigner);
    List<DneedsDesignerCase> selectDneedsDesignerCase(DneedsDesignerCaseExample dneedsDesignerExample);
    DneedsDesignerCase getDneedsDesignerCase(DneedsDesignerCaseExample dneedsDesignerExample);
    int updateDneedsDesignerCase(DneedsDesignerCase dneedsDesigner);
    int delectDneedsDesignerCase(DneedsDesignerCase dneedsDesigner);
    int installDneedsDemand(DneedsDemand data);
    List<DneedsDemand> selectDneedsDemand(DneedsDemandExample data);
    DneedsDemand getDneedsDemand(DneedsDemandExample data);
    int updateDneedsDemand(DneedsDemand data);
    int delectDneedsDemand(DneedsDemand data);
    //添加投标单
    int installDneedsBid(DneedsBid data);
    //获取投标单
    List<DneedsBid> selectDneedsBid(DneedsBidExample data);
    //获取单一投标单
    DneedsBid getDneedsBid(DneedsBidExample data);
    //修改投标单
    int updateDneedsBid(DneedsBid data);
    //删除投标单
    int delectDneedsBid(DneedsBid data);
    //添加投标设计图
    int installDneedsDemandSjt(DneedsDemandSjt data);
    //获取投标设计图
    List<DneedsDemandSjt> selectDneedsDemandSjt(DneedsDemandSjtExample data);
    //获取单一投标设计图
    DneedsDemandSjt getDneedsDemandSjt(DneedsDemandSjtExample data);
    //修改投标设计图
    int updateDneedsDemandSjt(DneedsDemandSjt data);
    //删除投标设计图
    int delectDneedsDemandSjt(DneedsDemandSjt data);
    //添加投标设计图
    int installDneedsDemandWlt(DneedsDemandWlt data);
    //获取投标设计图
    List<DneedsDemandWlt> selectDneedsDemandWlt(DneedsDemandWltExample data);
    //获取单一投标设计图
    DneedsDemandWlt getDneedsDemandWlt(DneedsDemandWltExample data);
    //修改投标设计图
    int updateDneedsDemandWlt(DneedsDemandWlt data);
    //删除投标设计图
    int delectDneedsDemandWlt(DneedsDemandWlt data);
}
